package cn.fengshenghospital.service.impl;

import cn.fengshenghospital.entity.Friendship;
import cn.fengshenghospital.mapper.FriendshipMapper;
import cn.fengshenghospital.service.FriendshipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FriendshipServiceImpl implements FriendshipService {

    @Autowired
    private FriendshipMapper friendshipMapper;

    @Override
    public List<Friendship> getFriendList()throws Exception {
        return friendshipMapper.getFriendList();
    }
}
